package com.ximu.service_home.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @projectName: xiaomi-mall
 * @package: com.ximu.service_home.vo
 * @className: PlatCommodityVo
 * @author: ximu
 * @description: TODO
 * @date: 2022/6/24 9:31
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlatCommodityVo {
    @ApiModelProperty(value = "商品ID")
    @TableId(value = "goods_id", type = IdType.ID_WORKER_STR)
    private Integer goodsId;

    @ApiModelProperty(value = "商家ID(逻辑外键)")
    private String sellerId;

    @ApiModelProperty(value = "一级分类")
    private String oneType;

    @ApiModelProperty(value = "二级分类")
    private String twoType;

    @ApiModelProperty(value = "商品名称")
    private String goodName;

    @ApiModelProperty(value = "商品信息")
    private String goodsInfo;

    @ApiModelProperty(value = "商品参数")
    private String goodsParameter;

    @ApiModelProperty(value = "商品图片(拼接地址为list)")
    private String goodsPicture;

    @ApiModelProperty(value = "商品单价")
    private Integer goodsPrice;

    @ApiModelProperty(value = "商品库存")
    private Integer goodsInventory;

    @ApiModelProperty(value = "商品版本(下单时候要填的)")
    private String goodsVersion;

    @ApiModelProperty(value = "商品颜色(下单时候要填的)")
    private String goodsColor;

    @ApiModelProperty(value = "商品套装(下单时候要填的，我觉得此模块无必要)")
    private String goodsSuit;
}
